/**
 * 
 */
package com.munoor.dalai.server.model;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;


/**
 * @author Osho Ilamah
 * @since  version 1.0 (27 March 2011)
 */
public final class EMFService {
    private static final EntityManagerFactory emfInstance =
        Persistence.createEntityManagerFactory("transactions-optional");
    private EMFService() {}

    public static EntityManagerFactory get() {
        return emfInstance;
    }
}
